<option value=""></option>
<?php 
    $tipoDocList = $this->em->createQuery('SELECT t FROM models\tipo_documento t');
    
    foreach ($tipoDocList->getResult() as $value) {

     echo '<option value="'.$value->getTipoDocCodigo().'_'.$value->getGrupo().'" >'.utf8_encode($value->getTipoDocDesc()).'</option>';
 }
 ?>

